package com.example.navbardemo.model;

import com.example.navbardemo.fraction.CompontentPage;
import com.example.navbardemo.fraction.SystemPage;
import ohos.aafwk.ability.fraction.Fraction;
import ohos.aafwk.ability.fraction.FractionAbility;

import java.util.ArrayList;
import java.util.List;

public class BottomNavViewModel {
    List<Fraction> fractions = new ArrayList<>();
    public List<Fraction> initBottomNavFractions(){
        CompontentPage compontentPage = new CompontentPage();
        SystemPage systemPage = new SystemPage();
        fractions.add(compontentPage);
        fractions.add(systemPage);
        return fractions;
    }
}
